* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    /* min-height: 100vh; */
    /* background-color: var(--body-color); */
    /* transition: all 0.3s ease; */
    /* overflow: hidden; */
}

/* 设置全局变量 */
:root {
    --body-color: #E4E9F7;
    --shell-color: #FFF;
    --primary-color: #d3c11fd4;
    --primary-color-light: #F6F5FF;
    --toggle-color: #DDD;
    --text-color: #707070;
}

/* 深色主题变量 */
/* .dark {
    --body-color: #202224;
    --shell-color: #171717;
    --primary-color: #3a3b3c;
    --primary-color-light: #3a3b3c;
    --toggle-color: #fff;
    --text-color: #ccc;
} */ 

li{
   list-style: none;
}
a{
     text-decoration: none;
}
#container-bg{
    width: 100%;
    height: 1000px;
    background-color: #ecdf5186;
    position: fixed;
    z-index: -100;
  
}
.shell {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    padding: 10px 14px;
    background: var(--shell-color);
    transition: all 0.3s ease;
    z-index: 100;
}

.close {
    width: 88px;
}

.shell li {
    height: 50px;
    list-style: none;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.image,
.icon {
    min-width: 50px;
    border-radius: 6px;
}
/*  图标 */
.icon {
    width: 40px;
    border-radius: 6px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 300 23px '';
      background-size: cover;
    background-repeat: no-repeat;
}


.icon-sousuo {
    background-image: url('../image/tupiao/搜索.png');
}
.icon-shouye{
    background-image: url('../image/tupiao/主页.png');
}
.icon-xianlu {
    background-image: url('../image/tupiao/线路.png');
}
.icon-meishi {
    background-image: url('../image/tupiao/美食.png');
}
.icon-jingdian{
    background-image: url('../image/tupiao/景点.png');
} 
.icon-jilu {
    background-image: url('../image/tupiao/历史记录.png');
} 
.icon-shoucang{
    background-image: url('../image/tupiao/收藏.png');
} 
.nav-link{
    margin-bottom: 10px;
}
.text,
.icon {
    color: var(--text-color);
    transition: all 0.3s ease;
}

.text {
    font: 500 17px;
    white-space: nowrap;
    opacity: 1;
}

.shell.close .text {
    opacity: 0;
}

header {
    position: relative;
}

.image-text {
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.name {
    margin-top: 2px;
    font: 600 18px '';
}

.software {
    font-size: 20px;
    margin-top: -2px;
    display: block;
}

.image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image img {
    width: 45px;
    border-radius: 6px;
}

.toggle {
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%) rotate(180deg);
    height: 25px;
    width: 25px;
    background-color: var(--primary-color);
    color: var(--shell-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle {
    color: #ccc;
}

.shell.close .toggle {
    transform: translateY(-50%) rotate(0deg);
}

.menu {
    margin-top: 40px;
}

li.search-box {
    border-radius: 6px;
    background-color: var(--primary-color-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

li.search-box input {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    background-color: var(--primary-color-light);
    color: var(--text-color);
    border-radius: 6px;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.shell li a {
    list-style: none;
    height: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.shell li a:hover {
    background-color: var(--primary-color);
}

.shell li a:hover .icon,
.shell li a:hover .text {
    color: var(--shell-color);
}

.menu-bar {
    height: calc(100% - 55px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: scroll;
}

.menu-bar::-webkit-scrollbar {
    display: none;
}

.menu-bar .mode {
    border-radius: 6px;
    background-color: var(--primary-color-light);
    position: relative;
    transition: all 0.3s ease;
}

.menu-bar .mode .sun-moon {
    height: 50px;
    width: 60px;
}

/* .mode .sun-moon i {
    position: absolute;
}

.mode .sun-moon i.sun {
    opacity: 0;
} */

.toggle-switch {
    position: absolute;
    right: 0;
    height: 100%;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
}

.switch {
    position: relative;
    height: 22px;
    width: 40px;
    border-radius: 25px;
    background-color: var(--toggle-color);
    transition: all 0.3s ease;
}

.switch::before {
    content: '';
    position: absolute;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    background-color: var(--shell-color);
    transition: all 0.3s ease;
}

/* .dark .shell li a:hover .icon,
.dark .shell li a:hover .text {
    color: #ccc;
}

.dark .mode .sun-moon i.sun {
    opacity: 1;
}

.dark .mode .sun-moon i.moon {
    opacity: 0;
}

.dark .switch::before {
    left: 20px;
}  */
/* 封面 */
#background-image{
    width: 1700px;
    height: 280px;
    margin: 0 auto;
background-image: url('https://img0.baidu.com/it/u=2897031658,2890576762&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800'); 
background-repeat: no-repeat;
background-size:cover;
}
.search-title{
    position: relative;
    top: 10px;
    left: -313px;
}
.logo{
   margin: 8px auto;
   text-align: center;
   font-size: 3rem;
   color: #000;

}
.logo2{
    margin: 4px auto;
    text-align: center;
    font-size: 2rem;
    color: antiquewhite;
}


.search-box2{
   width: 32%;
   height: 40px;
   position: relative;
   left:990px ;
   top: -70px;
   border-radius: 20px;
}
.search{
   width: 60%;
   height: 100%;
   border-radius: 20px;
   box-shadow: 2px 4px 5px rgba(0,0,0,0.3);
   /* margin-right: ; */
   cursor: pointer;
}
.search-buttom{
  width: 30%;
  height: 100%;
  background-color:#1757cf;
  box-shadow: 2px 4px 5px rgba(0,0,0,0.3);
  border-radius: 20px;
  cursor: pointer;

}




.title-luxian{
    margin: 40px 0;
    display: flex;
    justify-content: center;
    position: relative;
    left: -570px;
    font-size: 1.5rem;
    font-family: cursive;
    font-style: italic;
    font-weight: bold;
}
.title-luxian-head{
    position: relative;
    left: 570px;
    font-size: 2rem;
    margin: 10px 0;
    font-family: fantasy;
    font-style: oblique;
}
/* 路线 */
.container-luxian{
    width: 770px;
    height: 250px;
    /* background-color: #707070; */
    background-color: #d3c11fd4;
    position: relative;
    left: 242px;
    margin-bottom: 32px; 
    box-shadow: 2px 4px 5px rgba(0,0,0,0.3);
   overflow: hidden;
   /* float: left; */
}

.li-luxian{
   width: 244px;
   height: 250px;
    background-color: #d3c11fd4;
   margin-left: 10px;
   float: left;
   
}
.image-luxian{
    display: inline-block;
    width: 100%;
    height: 60%;
    background-color: bisque;
    /* background-image: url('https://img0.baidu.com/it/u=2897031658,2890576762&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800'); */
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
}
.content-luxian{
    color: #000;
    font-size: 1rem;
    font-family: 'Courier New', Courier, monospace;
}

.luxian-prev{ 
     width: 40px;
    height: 40px;
    appearance: none;
    border: none;
    background-color: #707070;
    color: white;
    border-radius: 4px;
    cursor: pointer;
     position: relative;
     left:211px;
     top: -154px;
}
.luxian-next{
    width: 40px;
    height: 40px;
    appearance: none;
    border: none;
    background-color: #707070;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    left:  946px;
    top: -161px;
}
.luxian-prev:hover{
    background: rgba(255, 255, 255, 0.043);
}
.luxian-next:hover{
    background: rgba(255, 255, 255, 0.043);
}
.luxian1{
    position: relative;
    transition: all 1s; 
    float: left;
}
















/* 景点 */
.container-jingdian {
    display: flex;
    width: 35vw;
    position: relative;
    left: 1030px;
    top: -69px;
   
    cursor: pointer;
}
/* .container-jingdian.active{
    position: fixed;
} */



.panel {
   
    background-size: cover;
    background-position: center;
    /* background-color: #695CFE; */
    height: 80vh;
    border-radius: 50px;
    color: black;
    cursor: pointer;
    flex: 0.5;
    margin-right: 5px;
    position: relative;
    transition: all 500ms ease-in;
    box-shadow: 2px 4px 5px rgba(0,0,0,0.3);

}

.panel h3 {
    font-size: 24px;
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0;
    opacity: 0;
}
.panel.active{
    flex: 10;
}
.panel.active h3{
    opacity: 1;
    transition: opacity 0.3s ease-in 0.4;
}


/* 轮播图 */
.slider {
    width: 560px;
    height: 400px;
    overflow: hidden;
    position: relative;
    left: 1052px;
    top: -1908px;
  margin-bottom: 50px;
  border-radius: 20px;
  cursor: pointer;
  }

  .slider-wrapper {
    width: 100%;
    height: 320px;
  }

  .slider-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
  }

  .slider-footer {
    height: 80px;
    background-color: rgb(100, 67, 68);
    padding: 12px 12px 0 12px;
    position: relative;
  }

  .slider-footer .lunbo-toggle {
    position: absolute;
    right: 0;
    top: 12px;
    display: flex;
  }

  .slider-footer .lunbo-toggle button {
    margin-right: 12px;
    width: 28px;
    height: 28px;
    appearance: none;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
  }

  .slider-footer .lunbo-toggle button:hover {
    background: rgba(255, 255, 255, 0.2);
   
  }

  .slider-footer p {
    margin: 0;
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
  }

  .slider-indicator {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
  }

  .slider-indicator li {
    width: 8px;
    height: 8px;
    margin: 4px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.4;
    cursor: pointer;
  }

  .slider-indicator li.lunbo-active {
    width: 12px;
    height: 12px;
    opacity: 1;
  }
/* 轮播图2 */

.slider2 {
    width: 560px;
    height: 400px;
    overflow: hidden;
    position: relative;
    left: 1052px;
    top: -1908px;
  margin-bottom: 50px;
  border-radius: 20px;
  cursor: pointer;
  }

  .slider-wrapper2 {
    width: 100%;
    height: 320px;
  }

  .slider-wrapper2 img {
    width: 100%;
    height: 100%;
    display: block;
  }

  .slider-footer2 {
    height: 80px;
    background-color: rgb(100, 67, 68);
    padding: 12px 12px 0 12px;
    position: relative;
  }

  .slider-footer2 .lunbo-toggle2 {
    position: absolute;
    right: 0;
    top: 12px;
    display: flex;
  }

  .slider-footer2 .lunbo-toggle2 button {
    margin-right: 12px;
    width: 28px;
    height: 28px;
    appearance: none;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
  }

  .slider-footer2 .lunbo-toggle2 button:hover {
    background: rgba(255, 255, 255, 0.2);
   
  }

  .slider-footer2 p {
    margin: 0;
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
  }

  .slider-indicator2 {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
  }

  .slider-indicator2 li {
    width: 8px;
    height: 8px;
    margin: 4px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.4;
    cursor: pointer;
  }

  .slider-indicator2 li.lunbo-active2 {
    width: 12px;
    height: 12px;
    opacity: 1;
  }





  /* 美食板块 */
  .container-meishi{
    width: 770px;
    height: 1200px;
    background-color: #d3c11fd4;
    position: relative;
    left: 240px;
    top: -1560px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow-x: hidden;
  }
  .title-meishi{
       color: black;
       font-size: 2rem;
      text-align: center;
      margin: 4px 0;
  }
  .box-meishi{
      background-color: steelblue;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 500px;
    height: 200px;
    margin: 15px auto;
    border-radius: 15px;
    box-shadow: 2px 4px 5px rgba(0,0,0,0.3);
   
    transition: transform 0.4s ease;

  }
  .box-meishi:nth-of-type(odd){
    transform: translateX(400%);
    flex-flow:row-reverse ;
}
  .box-meishi:nth-of-type(even ){
    transform: translateX(-400%);
    /* flex-flow:row-reverse ; */
}
   .box-meishi.show{
    transform: translateX(0);
}

.image-meishi{
         width: 40%;
    height: 100%;
    /* background-image: url('https://img.tyw.net/image/f59e151606985059.jpg'); */
    background-size: cover;
    background-repeat: no-repeat;
}
/* .image-meishi:nth-of-type(2n-1){
    float: left;
}
.image-meishi:nth-of-type(even){
    float: right;
} */
  .content-meishi{
    width: 60%;
    height: 100%;
     font-size: 1rem;
    
  }
  /* .content-meishi:nth-of-type(even){
    float: right ;
  }
  .content-meishi:nth-of-type(2n-1){
float: left;
  } */

  .footer{
    width: 100%;
    height: 1000px;
    background-color: rgb(201, 195, 28);
    position: relative;
    top: -900px;
  overflow: hidden;
  }